﻿using System;
using EnterpriseLibraryExtensions.Events;

namespace EventHandling
{
    public class SampleEventHandlerAsync : HandlesEventAsync<SampleEventType>
    {
        protected override void Handle(object sender, EventArgs<SampleEventType> args)
        {
            Console.WriteLine(@"Async handling of SampleEventType. Parameter: " + args.Value.EventValue);
        }
    }
}
